<?php if($session->check('Auth.User.id') && $this->Session->read('Auth.User.group') == 'admin' || $session->check('Auth.User.id') && $this->Session->read('Auth.User.group') == 'manag'){?>
	
	<li><?php echo $this->Html->link(__('Add Currency', true).'<small>'.__('Add Currency', true).'</small>', 
		array('plugin'=>'store','controller'=>'currencies','action'=>'add'),
		array('escape'=>false,'style'=>'background-image: url(/img/firma/actions_16_add.png)')); ?></li>
	
	<?php if(isset($storeCurrencies['StoreCurrency']['id'])){?>
	<li><?php echo $this->Html->link(__('Edit Currency', true).'<small>'.__('Edit Currency', true).'</small>', 
		array('plugin'=>'store','controller'=>'currencies','action'=>'edit',$storeCurrencies['StoreCurrency']['id']),
		array('escape'=>false,'style'=>'background-image: url(/img/firma/actions_16_edit.png)')); ?></li>
	
	<li><?php echo $this->Html->link(__('Delete Currency', true).'<small>'.__('Delete Currency', true).'</small>', 
		array('plugin'=>'store','controller'=>'currencies','action'=>'delete',$storeCurrencies['StoreCurrency']['id']),
		array('escape'=>false,'style'=>'background-image: url(/img/firma/actions_16_delete.png)'), sprintf(__d('store','Are you sure you want to delete # %s?', true), $storeCurrencies['StoreCurrency']['id'])); ?></li>
	<?php }?>
	<?php if(is_numeric($this->Form->value('StoreCurrency.id'))){?>

	<li><?php echo $this->Html->link(__('View Currency', true).'<small>'.__('View Currency', true).'</small>', 
		array('plugin'=>'store','controller'=>'currencies','action'=>'edit',$this->Form->value('StoreCurrency.id')),
		array('escape'=>false,'style'=>'background-image: url(/img/firma/actions_16_view.png)')); ?></li>
	
	<li><?php echo $this->Html->link(__('Delete Currency', true).'<small>'.__('Delete Currency', true).'</small>', 
		array('plugin'=>'store','controller'=>'currencies','action'=>'delete',$this->Form->value('StoreCurrency.id')),
		array('escape'=>false,'style'=>'background-image: url(/img/firma/actions_16_delete.png)'), sprintf(__d('store','Are you sure you want to delete # %s?', true), $this->Form->value('StoreCurrency.id'))); ?></li>


	<?php }?>
<?php }?>